package com.system.entity.menu;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author yz
 * @data: 2022/3/19 20:09 星期六
 * @file : MenuGuan.java
 * 菜单管理类
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class MenuGuan implements Serializable {


    /**
     *
     */
    private Integer authorityId;
    /**
     *
     */
    private String authorityName;
    /**
     *
     */
    private Integer orderNumber;
    /**
     *
     */
    private String menuUrl;
    /**
     *
     */
    private String menuIcon;
    /**
     *
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    /**
     *
     */
    private String authority;
    /**
     *
     */
    private Integer checked;
    /**
     *
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
    /**
     *
     */
    private Integer isMenu;
    /**
     *
     */
    private Integer parentId;
    /**
     *
     */
    private String perms;

    /**
     *
     */
    private Integer status;
}
